import request from '/@/utils/request';

// 列表
export function GrantSubSystemInfoGetPagedList(params?: object) {
	return request({
		url: '/api/GrantSubSystemInfo/GetPagedList',
		params,
	});
}
// 新增
export function GrantSubSystemInfoCreate(data: any) {
	return request({
		url: 'api/GrantSubSystemInfo/Create',
		method: 'post',
		data,
	});
}
// 编辑
export function GrantSubSystemInfoUpdate(data: any, id: string) {
	return request({
		url: `api/GrantSubSystemInfo/Update/${id}`,
		method: 'put',
		data,
	});
}

// 删除
export function BatchDelete(data: any) {
	return request({
		url: 'api/GrantSubSystemInfo/BatchDelete',
		method: 'post',
		data,
	});
}
